package com.yonyou.sto.modules.ims.service;

import com.yonyou.sto.modules.ims.dto.InvoiceDto;
import com.yonyou.sto.modules.ims.model.ImsBill;
import com.yonyou.sto.modules.ims.model.ImsInvoice;

import java.util.List;
import java.util.Map;

/**
 * @author Aegon Targaryen
 * @date Created in 2020/10/1011:27
 * @description: TODO
 */
public interface PushBillService {

    /**
     * 推送开票信息到悦闻
     * @return
     */
    Map<String, String> pushBillClient(List<InvoiceDto> dtos);

    Map<String, String> pushBillClient1(String status, List<ImsBill> dtos);
    /**
     * 退回单据到悦闻
     * @param imsInvoices
     * @return
     */
    Map<String, String> pushReturn(List<ImsInvoice> imsInvoices);
}
